#include "type.h"

typedef struct {
    uint8 AuthenticationType;
    uint8 MaximumPrivilege;
    uint8 ChallengeString[16];
    uint32 InitialOutboundSequenceNumber;
} __attribute__((__packed__)) ActivateSessionReq;

typedef struct {
    uint8 CompletionCode;
    uint8 AuthenticationType;
    uint32 SessionID;
    uint32 InitialInboundSequenceNumber;
    uint8 MaximumPrivilege;
} __attribute__((__packed__)) ActivateSessionRes;

uint16 ActivateSession(uint8* request_data, uint16 request_data_size, uint8* response_data);

